<table class="table-grid">
    <thead>
        <tr>
            <th class="col-idx"><a href="#" class="btn-arrowstop lnk-multiple" onclick="">&nbsp;</a></th>
            <th>订单编号</th>
            <th>客户姓名</th>
            <th>联系电话</th>
            <th>收货地址</th>
            <th>金额</th>
            <th>状态</th>
            <th>创建时间</th>
            <th>操作</th>
        </td></tr>
    </thead>
    <tbody>
    <foreach name="list" item="vo">
        <tr data-key="{$vo.id}">
            <td>{$key}</td>
            <td>{$vo.serialNo}</td>
            <td>{$vo.consigneeName}</td>
            <td>{$vo.consigneeTelphone}</td>
            <td><div class="notbreakline-ellipsis">{$vo.consigneeAddress}</div></td>
            <td>{$vo.orderAmount}</td>
            <td>{$vo.state|get_order_state_text='xcallcrm',###}</td>
            <td>{$vo.createdTime}</td>
            <td class="no-padding">
            <a href="{:U('Order/order_view','id='.$vo['id'])}" class="button lnk-edit">查看</a>
        <if condition="$upr['编辑订单']">
            <a href="{:U('Order/order_edit','id='.$vo['id'])}" class="btn-edit lnk-edit">编辑</a>
        </if>
        <if condition="$upr['删除订单']">
            <a href="{:U('Order/order_delete','id='.$vo['id'])}" class="btn-minus lnk-confirm">删除</a>
        </if>
        </td>
        </td></tr>
    </foreach>
</tbody>
</table>
{$pager}
